package com.qms.repast.entity.resbean;

import java.io.Serializable;
import java.util.List;

/**
 * @author 泅渡者
 * @date 2018/10/8 0008
 * @describe: 商家菜品列表 （所有类型）
 */
public class FoodBean implements Serializable {

	/**
	 * body : {"notPayCount":"0","rows":[{"items":[{"priceId":1,"assembleType":"0","categoryId":"7839","categoryTitle":"主食","foodType":"2","icon":"https://img.qms888.com/il7p8kn4nqq1531359030892_crop.jpg?t=0.5576807408951354","isPeriodPrice":0,"isRecommend":0,"isRequired":0,"isSku":0,"isWeigh":0,"itemId":"dec95b0b88324c6ca67979e28a1b5dea","itemNo":"088","itemType":1,"originalPrice":0.3,"pepperLevel":0,"price":0.3,"stock":9999,"stockWarn":0,"title":"线椒鸡蛋","unit":"斤"}],"categoryId":"7839","categoryTitle":"主食"}]}
	 * code : 200 msg : 成功!
	 */

	private BodyBean body;
	private int code;
	private String msg;

	public BodyBean getBody () {
		return body;
	}

	public void setBody (BodyBean body) {
		this.body = body;
	}

	public int getCode () {
		return code;
	}

	public void setCode (int code) {
		this.code = code;
	}

	public String getMsg () {
		return msg;
	}

	public void setMsg (String msg) {
		this.msg = msg;
	}

	public static class BodyBean {
		/**
		 * notPayCount : 0 rows : [{"items":[{"priceId":1,"assembleType":"0","categoryId":"7839","categoryTitle":"主食","foodType":"2","icon":"https://img.qms888.com/il7p8kn4nqq1531359030892_crop.jpg?t=0.5576807408951354","isPeriodPrice":0,"isRecommend":0,"isRequired":0,"isSku":0,"isWeigh":0,"itemId":"dec95b0b88324c6ca67979e28a1b5dea","itemNo":"088","itemType":1,"originalPrice":0.3,"pepperLevel":0,"price":0.3,"stock":9999,"stockWarn":0,"title":"线椒鸡蛋","unit":"斤"}],"categoryId":"7839","categoryTitle":"主食"}]
		 */

		private String notPayCount;
		private List<RowsBean> rows;

		public String getNotPayCount () {
			return notPayCount;
		}

		public void setNotPayCount (String notPayCount) {
			this.notPayCount = notPayCount;
		}

		public List<RowsBean> getRows () {
			return rows;
		}

		public void setRows (List<RowsBean> rows) {
			this.rows = rows;
		}

		public static class RowsBean {
			/**
			 * items : [{"priceId":1,"assembleType":"0","categoryId":"7839","categoryTitle":"主食","foodType":"2","icon":"https://img.qms888.com/il7p8kn4nqq1531359030892_crop.jpg?t=0.5576807408951354","isPeriodPrice":0,"isRecommend":0,"isRequired":0,"isSku":0,"isWeigh":0,"itemId":"dec95b0b88324c6ca67979e28a1b5dea","itemNo":"088","itemType":1,"originalPrice":0.3,"pepperLevel":0,"price":0.3,"stock":9999,"stockWarn":0,"title":"线椒鸡蛋","unit":"斤"}]
			 * categoryId : 7839 categoryTitle : 主食
			 */

			private String categoryId;
			private String categoryTitle;
			private List<ItemsBean> items;

			public String getCategoryId () {
				return categoryId;
			}

			public void setCategoryId (String categoryId) {
				this.categoryId = categoryId;
			}

			public String getCategoryTitle () {
				return categoryTitle;
			}

			public void setCategoryTitle (String categoryTitle) {
				this.categoryTitle = categoryTitle;
			}

			public List<ItemsBean> getItems () {
				return items;
			}

			public void setItems (List<ItemsBean> items) {
				this.items = items;
			}

			public static class ItemsBean {
				/**
				 * priceId : 1 assembleType : 0 categoryId : 7839 categoryTitle : 主食 foodType : 2
				 * icon : https://img.qms888.com/il7p8kn4nqq1531359030892_crop.jpg?t=0.5576807408951354
				 * isPeriodPrice : 0 isRecommend : 0 isRequired : 0 isSku : 0 isWeigh : 0 itemId :
				 * dec95b0b88324c6ca67979e28a1b5dea itemNo : 088 itemType : 1 originalPrice : 0.3
				 * pepperLevel : 0 price : 0.3 stock : 9999 stockWarn : 0 title : 线椒鸡蛋 unit : 斤
				 */

				private int priceId;
				private String assembleType;
				private String categoryId;
				private String categoryTitle;
				private String foodType;
				private String icon;
				private int isPeriodPrice;
				private int isRecommend;
				private int isRequired;
				private int isSku;
				private int isWeigh;
				private String itemId;
				private String itemNo;
				private int itemType;
				private double originalPrice;
				private int pepperLevel;
				private double price;
				private int stock;
				private int stockWarn;
				private String title;
				private String unit;

				public int getPriceId () {
					return priceId;
				}

				public void setPriceId (int priceId) {
					this.priceId = priceId;
				}

				public String getAssembleType () {
					return assembleType;
				}

				public void setAssembleType (String assembleType) {
					this.assembleType = assembleType;
				}

				public String getCategoryId () {
					return categoryId;
				}

				public void setCategoryId (String categoryId) {
					this.categoryId = categoryId;
				}

				public String getCategoryTitle () {
					return categoryTitle;
				}

				public void setCategoryTitle (String categoryTitle) {
					this.categoryTitle = categoryTitle;
				}

				public String getFoodType () {
					return foodType;
				}

				public void setFoodType (String foodType) {
					this.foodType = foodType;
				}

				public String getIcon () {
					return icon;
				}

				public void setIcon (String icon) {
					this.icon = icon;
				}

				public int getIsPeriodPrice () {
					return isPeriodPrice;
				}

				public void setIsPeriodPrice (int isPeriodPrice) {
					this.isPeriodPrice = isPeriodPrice;
				}

				public int getIsRecommend () {
					return isRecommend;
				}

				public void setIsRecommend (int isRecommend) {
					this.isRecommend = isRecommend;
				}

				public int getIsRequired () {
					return isRequired;
				}

				public void setIsRequired (int isRequired) {
					this.isRequired = isRequired;
				}

				public int getIsSku () {
					return isSku;
				}

				public void setIsSku (int isSku) {
					this.isSku = isSku;
				}

				public int getIsWeigh () {
					return isWeigh;
				}

				public void setIsWeigh (int isWeigh) {
					this.isWeigh = isWeigh;
				}

				public String getItemId () {
					return itemId;
				}

				public void setItemId (String itemId) {
					this.itemId = itemId;
				}

				public String getItemNo () {
					return itemNo;
				}

				public void setItemNo (String itemNo) {
					this.itemNo = itemNo;
				}

				public int getItemType () {
					return itemType;
				}

				public void setItemType (int itemType) {
					this.itemType = itemType;
				}

				public double getOriginalPrice () {
					return originalPrice;
				}

				public void setOriginalPrice (double originalPrice) {
					this.originalPrice = originalPrice;
				}

				public int getPepperLevel () {
					return pepperLevel;
				}

				public void setPepperLevel (int pepperLevel) {
					this.pepperLevel = pepperLevel;
				}

				public double getPrice () {
					return price;
				}

				public void setPrice (double price) {
					this.price = price;
				}

				public int getStock () {
					return stock;
				}

				public void setStock (int stock) {
					this.stock = stock;
				}

				public int getStockWarn () {
					return stockWarn;
				}

				public void setStockWarn (int stockWarn) {
					this.stockWarn = stockWarn;
				}

				public String getTitle () {
					return title;
				}

				public void setTitle (String title) {
					this.title = title;
				}

				public String getUnit () {
					return unit;
				}

				public void setUnit (String unit) {
					this.unit = unit;
				}
			}
		}
	}
}
